#include "GameState.h"

GameState::GameState(){
}

GameState::~GameState(){
}

void GameState::initialize(){
}

void GameState::cleanup(){
}

StateType GameState::events(){ // System wide events.
	if(eventHandler.keyPressEvent(GLFW_KEY_ESC) == KEY_PRESSED)
	{
		glfwCloseWindow();
	}
	return NULL_STATE;
}

StateType GameState::run(){
	GameState::events();
	return NULL_STATE;
}

EventHandler GameState::eventHandler = EventHandler();